
package nccloud.bs.rongq.bill.aggbusi.ace.bp;
import nc.vo.rongq.rongq.AggRongQVO;
import nc.impl.pubapp.pattern.data.bill.BillUpdate;
import nc.vo.pub.VOStatus;

/**
 * 标准单据弃审的BP
 */
public class AceRongQVOUnApproveBP {

        public AggRongQVO[] unApprove(AggRongQVO[] clientBills,
                        AggRongQVO[] originBills) {
                for (AggRongQVO clientBill : clientBills) {
                        clientBill.getParentVO().setStatus(VOStatus.UPDATED);
                }
                BillUpdate<AggRongQVO> update = new BillUpdate<AggRongQVO>();
                AggRongQVO[] returnVos = update.update(clientBills, originBills);
                return returnVos;
        }
}
